package com.sls.game.service;

import java.util.List;

import com.sls.core.socket.Head;
import com.sls.core.socket.ServerDisponseException;
import com.sls.game.pojo.PriceTemplateInfo;

/**
 * 价格模版管理
 * 
 * @author cx
 * 
 */
public interface PriceTemplateService {

	/**
	 * 保存
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String save(String body, Head head) throws ServerDisponseException;

	/**
	 * 修改
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String update(String body, Head head) throws ServerDisponseException;

	/**
	 * 详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryTemplateByCode(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 查询所有模版名称
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryTemplateNameList(Head head)
			throws ServerDisponseException;

	/**
	 * 分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryPriceTemplate(String body, Head head)
			throws ServerDisponseException;

	public List<PriceTemplateInfo> queryTemplateList(Head head)
			throws ServerDisponseException;
}
